//
// CoupDeCoutal.hh for  in /home/gomes_m//RPBaraze
// 
// Made by mickael gomes
// Login   <gomes_m@epitech.net>
// 
// Started on  Fri Sep  6 14:52:22 2013 mickael gomes
// Last update Fri Sep  6 15:56:26 2013 mickael gomes
//

#include		"CoupDeCoutal.hh"

CoupDeCoutal::CoupDeCoutal()
  : AAttack(4, 8, 2, "Coup de coutal")
{

}

CoupDeCoutal::~CoupDeCoutal()
{

}

int		CoupDeCoutal::doDamage()
{
  if (!(random() % critical_))
    {
      critHit_ = true;
      return (damage_ * 2);
    }
  return (this->attackRange());
}
